<template>
  <div>
    <div>请求一：{{ content }}</div>
  </div>
</template>

<script>
export default {
  name: "AsycOne",
  components: {},
  data() {
    return {
      content: "",
    };
  },
  created() {
    this.handleContent();
  },
  methods: {
    handleContent() {
      this.$emit("handleTips", 0, "no");
      setTimeout(() => {
        this.content = "这里是内容一";
        this.$emit("handleTips", 0, "yes");
      }, 1000);
    },
  },
};
</script>
<style lang="less" scoped></style>
